import $http from '../http'

export const userReg = (url,data)=>{ //注册
    return $http.get(url,{
        params:data
    })
}

export const userLogin = (url,data)=>{ //登录
    return $http.post(url)
}

export const userInfo = (url,data)=>{
    return $http.get(url)
}